//
//  AddViewController.h
//  EducationAdminClient
//
//  Created by kwsdzjx on 15/11/26.
//  Copyright © 2015年 周佳兴. All rights reserved.
//

#import "BaseAllViewController.h"
#import "EditModel.h"
#import <JavaScriptCore/JavaScriptCore.h>

@interface AddViewController : BaseAllViewController<UIPickerViewDataSource,UIPickerViewDelegate,UIAlertViewDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate>{
    UIImagePickerController *pick;
}
@property(nonatomic,retain)NSDictionary         *dicArr;
@property(strong, nonatomic)UIButton            *subBtn;
@property(strong, nonatomic)UIButton            *backBtn;
@property(nonatomic,retain)NSDictionary         *addDic;
@property(strong, nonatomic)NSMutableDictionary *sendMutDic;
//@property(strong, nonatomic)UIPickerView        *pickerView;
@property(assign, nonatomic)BOOL                dataOK;
@property(strong, nonatomic)NSDictionary         *buttonDic;
@property(assign, nonatomic)NSString            *tableId;
@property(strong, nonatomic)NSString            *pageId;
@property(nonatomic,retain)NSDictionary         *detailDic;

@property (strong, nonatomic)NSString           *tString;
@property(nonatomic,assign)NSInteger            rowNum;
@property(nonatomic,assign)NSInteger            tNum;

@property(copy,nonatomic)NSString               *isBeginEdit;
@property (assign, nonatomic)BOOL               isAddPage;   // 是否是添加页面

@property(assign,nonatomic)BOOL                 edit; // 修改 查看 查看 1 。lo 是是是


@property(strong,nonatomic)id                   retureView; // 未修改准备的返回视图
@property(assign,nonatomic)BOOL                 TeacherNeedDownLoad;//教师需要下载
@property(nonatomic,copy)NSString *toString;//判断右上角的显示字段

@property(strong, nonatomic)NSString            *pageDataNum; // 当前数据条数
@property(assign,nonatomic)BOOL                 isFromStudentMore;//是否是来自于StudentMore页面
@property(strong, nonatomic)NSString            *onClickType; // 跳转方式



@property(strong, nonatomic, readonly)JSContext            *jsContext; // js 调用代码

@end
